FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER wangiegie@gmail.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /shycloud-daemon-quartz

WORKDIR /shycloud-daemon-quartz

EXPOSE 5007

ADD ./shycloud-tools/shycloud-daemon-quartz/target/shycloud-daemon-quartz.jar ./

CMD java -Djava.security.egd=file:/dev/./urandom -jar shycloud-daemon-quartz.jar
